Skip to main content

noncontiguousHilites

Type

property

Summary

Specifies whether the user can select non-adjacent lines of a list field.

Syntax

set the noncontiguousHilites of <field> to {true | false}

Description

Use the noncontiguousHilites property to control the behavior of list fields.

If a list field's noncontiguousHilites property is false, the user can select multiple lines only if they're next to each other.

If the noncontiguousHilites is true, the user can select multiple lines, wherever they occur in the field. The user makes a multiple choice from a list field by Command-clicking the desired lines (on Mac OS systems) or Control-clicking (on Unix and Windows systems).

If the field's listBehavior is not set to true, this property has no effect.

Important

Setting the toggleHilites to true automatically sets the field's noncontiguousHilites property to true. (However, setting the toggleHilites to false does not set the property back to false.) To set the toggleHilites to true and the noncontiguousHilites to false, be sure to set the toggleHilites first, then set the noncontiguousHilites to false.

Examples

set the noncontiguousHilites of field "Parties" to true

command: select

glossary: property, Unix, list field, Windows, behavior, Mac OS

keyword: field, lines

object: field

property: hilitedLine, listBehavior, toggleHilites, threeDHilite, multipleHilites

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?